Uitwisselprofiel RIVM Infectieziektenbestrijding
Over Uitwisselprofiel RIVM Infectieziektenbestrijding
0.0.1-demo
- Publicatiedatum:
- 02-03-2026
- Inwerkingtreding:
- 26-02-2026
3.2. Wat is het aantal cliënten met een Wlz-indicatie met zorgprofiel VV met eerste grondslag psychogeriatrie of somatiek met een nieuwe episode van gastro-enteritis?
Concepten
- Langdurige zorg sector
- Mens
- Vestiging
- Vestigingsnummer
- Wlz-indicatie
- ZorgEnVerpleegProces
- Zorgkantoor regio
Relaties
- deel van
- gaat over
- gedefinieerd door
- geïdentificeerd door
- heeft deel
- heeft lokaliseerbaar gebied
- heeft perdurantlocatie
- vestiging van
Eigenschappen
Instanties
SPARQL query
Code gekopieerd
...Kopieer naar klembord
1# Indicator: RIVM 3.2 Demo (ActiZ 1.7) 2# Parameters: ?jaar ?kwartaal 3# Ontologie: versie 3.0 of nieuwer 4 5PREFIX onz-g: <http://purl.org/ozo/onz-g#> 6PREFIX onz-org: <http://purl.org/ozo/onz-org#> 7PREFIX onz-zorg:<http://purl.org/ozo/onz-zorg#> 8PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 9 10 11SELECT 12 (?vestiging AS ?Organisatieonderdeel) 13 (COUNT(DISTINCT IF(?sector = onz-zorg:VV, ?client, ?unbound)) AS ?Aantal_psychogeriatrie) 14 (COUNT(DISTINCT IF(?sector = onz-zorg:LG, ?client, ?unbound)) AS ?Aantal_somatiek) 15{ 16 BIND(2026 AS ?jaar) 17 BIND("Q1" AS ?kwartaal) 18 19 BIND( 20 IF(?kwartaal = 'Q1', xsd:date(CONCAT(STR(?jaar), '-01-01')), 21 IF(?kwartaal = 'Q2', xsd:date(CONCAT(STR(?jaar), '-04-01')), 22 IF(?kwartaal = 'Q3', xsd:date(CONCAT(STR(?jaar), '-07-01')), 23 IF(?kwartaal = 'Q4', xsd:date(CONCAT(STR(?jaar), '-10-01')), 24 '')))) 25 AS ?p_start 26 ) 27 BIND(?p_start + "P3M"^^xsd:duration + "-P1D"^^xsd:duration AS ?p_eind) 28 29 ?sector 30 a onz-zorg:LangdurigeZorgSector . 31 ?client 32 a onz-g:Human . 33 34 ?indicatie 35 a onz-zorg:WlzIndicatie ; 36 onz-g:isAbout ?client ; 37 onz-g:hasPart/onz-g:isAbout ?sector ; 38 onz-g:startDatum ?start_indicatie . 39 OPTIONAL {?indicatie onz-g:eindDatum ?eind_indicatie} 40 FILTER(?start_indicatie <= ?p_eind && ( !BOUND(?eind_indicatie) || ?eind_indicatie >= ?p_start )) 41 42 # Koppel een zorgproces aan de Wlz indicaties en locaties 43 ?zorgproces a onz-g:CureAndCareProcess ; 44 onz-g:definedBy ?indicatie ; 45 onz-g:hasPerdurantLocation/onz-g:partOf* ?locatie ; 46 onz-g:startDatum ?start_zorgproces . 47 OPTIONAL { ?zorgproces onz-g:eindDatum ?eind_zorgproces } 48 FILTER(?start_zorgproces <= ?p_eind && ( !BOUND(?eind_zorgproces) || ?eind_zorgproces >= ?p_start )) 49 50 # Locatie en vestiging structuur 51 { 52 ?locatie onz-g:partOf* ?vestiging_uri . 53 ?vestiging_uri a onz-org:Vestiging ; 54 onz-g:identifiedBy ?vest_nr ; 55 onz-g:hasLocalizableArea/onz-g:identifiedBy/onz-g:hasPart/onz-g:hasPart ?postcode_6 . 56 ?vest_nr a onz-org:Vestigingsnummer ; 57 onz-g:hasDataValue ?vestiging . 58 59 BIND(IRI(SUBSTR(STR(?postcode_6), 1, STRLEN(STR(?postcode_6)) - 2)) AS ?postcode) 60 ?pc_gebied onz-g:identifiedBy ?postcode ; 61 onz-g:partOf+ ?zk_regio . 62 ?zk_regio a onz-org:ZorgkantoorRegio . 63 } UNION { 64 ?locatie onz-g:partOf* ?vestiging_uri . 65 ?vestiging_uri onz-org:vestigingVan ?organisatie_uri . 66 BIND("Totaal organisatie" AS ?vestiging) 67 } 68 69 #BIND(IF(BOUND(?zk_regio), STRAFTER(STR(?zk_regio), "/onz-org/"), ?unbound) AS ?zk_regio_code) 70 71 72 73} 74GROUP BY ?vestiging ?zk_regio_code 75ORDER BY ?vestiging ?zk_regio_code 76